CC = gcc
CFLAGS = -g
SRC = f.c
BIN = f

.PHONY : everything final clean realclean all

everything : $(BIN)

all : realclean everything

final : all clean

clean :
	rm -f *.o
	
realclean :
	rm -f $(BIN) *.o
	
$(BIN): $(SRC)
	$(CC) $(CFLAGS) -o $@ $<